import React from 'react';
import {Route} from 'react-router';

import View from './components/View';
import Setting from './components/Setting';

module.exports = {
    Route: (
        <Route path="demo" component={props => props.children}>
            <Route path="view" component={View}/>
            <Route path="setting" component={Setting}/>
        </Route>
    ),
    com: {
        View,
        Setting,
    },
    titles: {
        'View': '示例元素--展示',
        'Setting': '示例元素--设置'
    }
};
